package com.xq.pethome.system.emp.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.xq.pethome.base.domain.BaseDomain;
import com.xq.pethome.system.dept.domain.Department;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author xkk
 * @since 2023-01-16
 */
@Data
public class Employee extends BaseDomain {

    private static final long serialVersionUID = 1L;
    @Excel(name="员工名字",orderNum = "1",width = 30,isImportField = "true_st")
    private String username;
    @Excel(name="邮箱",orderNum = "2",width = 30,isImportField = "true_st")
    private String email;
    @Excel(name="电话",orderNum = "3",width = 30,isImportField = "true_st")
    private String phone;
    private String salt;
    private String password;
    @Excel(name="密码",orderNum = "4",width = 30,isImportField = "true_st")
    private Integer age;
    @Excel(name="状态",orderNum = "5", replace = {"正常_1","离职_2"}, width = 30,isImportField = "true_st")
    private Integer state;
    @Excel(name="部门",orderNum = "6",width = 30,isImportField = "true_st")
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;
    private Department department;
}
